package policies

import (
	"gitee.com/sweetsunnyflower/carpooling-server-go/app/models/passenger"
)

func CanModifyPassenger(userId uint64, passenger passenger.Passenger) bool {
	// return userId == passenger.UserId
	return true
}

func CanCreatePassenger(userId uint64, passenger passenger.Passenger) bool {
	// return userId == passenger.UserId
	return true
}

func CanUpdatePassenger(userId uint64, passenger passenger.Passenger) bool {
	// return userId == passenger.UserId
	return true
}

func CanDeletePassenger(userId uint64, passenger passenger.Passenger) bool {
	// return userId == passenger.UserId
	return true
}